From: Florian Müllner Date: Thu, 7 Jul 2016 13:52:43 +0000 (+0200) Subject: calendar-server: Remove an unnecessary check X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~805 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=61070e6ec013a2413d2320f105de987fb40fb14b;p=gnome-shell.git calendar-server: Remove an unnecessary check calendar_appointment_new() never returns %NULL, so no need to check for it. --- diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 10e00f3f0..7874c40ec 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -692,9 +692,6 @@ app_load_events (App *app) CalendarAppointment *appointment; appointment = calendar_appointment_new (ical, cal, app->zone); - if (appointment == NULL) - continue; - calendar_appointment_generate_occurrences (appointment, ical, cal,